package com.example.zhugenew.bean;

import java.io.Serializable;
import java.util.List;

public class HeadLineBean implements Serializable {

    /**
     * errcode : 0
     * errmsg : 成功
     * data : {"list":[{"topic_id":1,"ad":1,"n_id":"572494","title":"北京公积金新政出炉，四项提取政策内容详解！","url":"https://m.zhuge.com/news/bj/yaowen-572494.html","xfymd_url":"http://m.zhuge.com/xfymd/article?n_id=572494&article_city=qg"},{"topic_id":1,"ad":1,"n_id":"573594","title":"房价暴跌1.7万/平，业主、开发商\u201c携手\u201d打响价格战","url":"https://m.zhuge.com/news/all/zhugehao-573594.html","xfymd_url":"http://m.zhuge.com/xfymd/article?n_id=573594&article_city=qg"}]}
     */

    private int errcode;
    private String errmsg;

    private List<ListBean> list;

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable {
        /**
         * topic_id : 1
         * ad : 1
         * n_id : 572494
         * title : 北京公积金新政出炉，四项提取政策内容详解！
         * url : https://m.zhuge.com/news/bj/yaowen-572494.html
         * xfymd_url : http://m.zhuge.com/xfymd/article?n_id=572494&article_city=qg
         */

        private int topic_id;
        private int ad;
        private String n_id;
        private String title;
        private String url;
        private String xfymd_url;

        public int getTopic_id() {
            return topic_id;
        }

        public void setTopic_id(int topic_id) {
            this.topic_id = topic_id;
        }

        public int getAd() {
            return ad;
        }

        public void setAd(int ad) {
            this.ad = ad;
        }

        public String getN_id() {
            return n_id;
        }

        public void setN_id(String n_id) {
            this.n_id = n_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getXfymd_url() {
            return xfymd_url;
        }

        public void setXfymd_url(String xfymd_url) {
            this.xfymd_url = xfymd_url;
        }
    }

}
 